package com.java.business.dao;

import com.java.business.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.java.common.dto.SortDto;
import org.apache.ibatis.annotations.Mapper;

/**
 * 课程
 * 
 * @author jl
 * @since 2020-10-07 10:31:35
 */
@Mapper
public interface CourseDao extends BaseMapper<Course> {

    int updateTime(String courseId);

    void updateSort(SortDto sortDto);

    void moveSortsForward(SortDto sortDto);

    void moveSortsBackward(SortDto sortDto);
}
